package com.szpx.service.impl;

import com.szpx.entity.ZJH.yueche;
import com.szpx.mapper.yuecheMapper;
import com.szpx.service.yuecheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional //事务处理策略
public class yuecheServiceImpl implements yuecheService {

    @Autowired
    private yuecheMapper yuecheMapper;


    @Override
    public List<yueche> selectAllyueche() {
        return yuecheMapper.selectAll();
    }
}
